import Vue from 'vue'
import App from './App.vue'
import router from './router'
import axios from 'axios'

Vue.config.productionTip = false
// 将axios挂载到Vue原型上，所有组件实例都能访问
Vue.prototype.$axios = axios
// this.$http.get  ==> axios.get

new Vue({
    render: (h) => h(App),
    router
}).$mount('#app')
